package com.handler.exception;

public class BaseException extends Exception {

    protected String message;
    protected Integer code;
    protected Integer err_code;

    @Override
    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }

    public Integer getErr_code() {
        return err_code;
    }

    public BaseException(){}

    public BaseException(String message, Integer code, Integer err_code) {
        this.message = message;
        this.code = code;
        this.err_code = err_code;
    }
}
